const o=require('../controllers/order.server.controller');
function fn(app){

    app.route("/order/:_id")
        .put(o.changeOrderTaken)
        .get(o.loadOrderMsg);

    app.route("/orders")
        .get(o.loadOrderByTaken)

    app.route("/complaint")
        .get(o.loadComplaintProcess);

}

module.exports=fn;